package com.augurit.wf.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.jbpm.pvm.internal.task.SwimlaneImpl;
import org.jbpm.pvm.internal.task.TaskImpl;

@Entity
@Table(name = "JBPM4_PARTICIPATION")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Jbpm4Participant {

	// 属性
	@Id
    @Column(name = "DBID_")
	protected long dbid;
	
	@Column(name = "DBVERSION_")
	protected int dbversion;

	@Column(name ="USERID_")
	protected String userId;
	
	@Column(name ="GROUPID_")
	protected String groupId;
	
	@Column(name ="TYPE_")
	protected String type;
	
	@Column(name ="TASK_")
	protected String task;
	
	@Column(name ="SWIMLANE_")
	protected Long swimlane;

	public long getDbid() {
		return dbid;
	}

	public void setDbid(long dbid) {
		this.dbid = dbid;
	}

	public int getDbversion() {
		return dbversion;
	}

	public void setDbversion(int dbversion) {
		this.dbversion = dbversion;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getGroupId() {
		return groupId;
	}

	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTask() {
		return task;
	}

	public void setTask(String task) {
		this.task = task;
	}

	public Long getSwimlane() {
		return swimlane;
	}

	public void setSwimlane(Long swimlane) {
		this.swimlane = swimlane;
	}
	
	
}
